package com.itheima.service.system;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.system.Dept;
import com.itheima.domain.system.SysLog;

import java.util.List;

public interface SysLogService {
    /**
     * 添加日志
     */
    void insert(SysLog sysLog);

    PageInfo<SysLog> pageQuery(Integer pageNum, Integer pageSize) throws Exception;

    List<SysLog> findAll() throws Exception;
}
